export type ToastType = 'success' | 'error' | 'info' | 'warning';

export interface ToastConfig {
  message: string;
  type?: ToastType;
  duration?: number;
  closable?: boolean;
  position?: 'top-center' | 'top-right' | 'bottom-center' | 'bottom-right';
}

export interface ToastOptions {
  duration?: number;
  closable?: boolean;
  position?: 'top-center' | 'top-right' | 'bottom-center' | 'bottom-right';
  maxCount?: number;
}

export interface ToastItem extends ToastConfig {
  id: string;
  type: ToastType;
}